package com.aididi.service.impl;

import com.aididi.service.ConsumerFeignService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Auther: zx.xu
 * @Description:
 */
@Component
public class FallBackServiceImpl implements ConsumerFeignService {

    @Value("spring.application.name")
    private static String serverName ;

    public String test(String message) {
        return serverName+"error msg";
    }
}
